package com.jeespring.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * @Title: ResponseDTO
 * @Description:
 * @Author 张朝阳
 * @Date 2020/11/29 13:54
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ResponseDTO<T> implements Serializable {

    private boolean success = true;

    private int code = 200;

    private String message;

    private T data;
}
